#include "SubsystemMagnetBlockBehavior.h"

namespace PocketSurvival
{
    SubsystemMagnetBlockBehavior::SubsystemMagnetBlockBehavior() {}
    
    void SubsystemMagnetBlockBehavior::update(float dt)
    {
    }

    void SubsystemMagnetBlockBehavior::load(const nlohmann::json &json)
    {
    }

    void SubsystemMagnetBlockBehavior::save(nlohmann::json &json)
    {
        json["Magnets"] = "192,64,91";
    }
    void SubsystemMagnetBlockBehavior::saveToMsgJson(nlohmann::json &jsonData)
    {
        MSG_VALUE_SET(jsonData, "Magnets", "string", "192,64,91");
    }

    static const std::string subsystemName = "MagnetBlockBehavior";
    const std::string& SubsystemMagnetBlockBehavior::getName() const
    {
        return subsystemName;
    }
}